package com.cenxi.common.convert;


import com.cenxi.common.dto.req.MenuReqDTO;
import com.cenxi.common.dto.resp.MenuRespDTO;
import com.cenxi.dao.domain.Menu;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MenuDTOToMenuEntity extends BaseDTOMapStruct<MenuRespDTO, Menu> {
    MenuDTOToMenuEntity INTERFACE = Mappers.getMapper(MenuDTOToMenuEntity.class);

    Menu menuReqToMenu (MenuReqDTO menuReqDTO);
}
